package com.cms.service;

import java.io.InputStream;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.cms.entity.BaseCourse;
import com.cms.utils.page.Pagination;

public interface BaseCourseService {

    int getTotalItemsCount(String searchKey);

    List<BaseCourse> getBaseCourse(Pagination<BaseCourse> page, String searchKey);

    List<BaseCourse> getBaseCourseForSelect(String searchKey);

    int addBaseCourse(BaseCourse baseCourse);

    int updateBaseCourse(BaseCourse baseCourse);

    int deleteBaseCourse(List<Integer> list);

    int importExcelInfo(InputStream in, MultipartFile file) throws Exception;

    int deleteBaseCourse(BaseCourse t);

}
